package tema3.Lab1_2;

public class Customer {

	public int id = 0;
	public String name = "No ingresado";
	public String address = "No ingresada";
	public long phoneNumber = 0;
	public String emailAddress = "No ingresado";

	/**
	 * Metodo encargado de setear la informacion basica del cliente
	 * 
	 * @param id
	 * @param name
	 * @param address
	 * @param phoneNumber
	 */
	public void setCustomerInfo(int id, String name, String address,
			long phoneNumber) {
		this.id = id;
		this.name = name;
		this.address = address;
		this.phoneNumber = phoneNumber;
	}

	/**
	 * Metodo encargado de setear la informacion completa del cliente
	 * 
	 * @param id
	 * @param name
	 * @param address
	 * @param phoneNumber
	 * @param emailAddress
	 */
	public void setCustomerInfo(int id, String name, String address,
			long phoneNumber, String emailAddress) {
		this.id = id;
		this.name = name;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.emailAddress = emailAddress;
	}

	/**
	 * Metodo encargado de mostrar en consola la informacion del cliente
	 */
	public void displayCustomerInfo() {
		System.out.println("Customer ID: " + id);
		System.out.println("Customer name:" + name);
		System.out.println("Customer address: " + address);
		System.out.println("Customer phone number: " + phoneNumber);
		System.out.println("Customer email: " + emailAddress);
	}
}
